<?php foreach ($fields as $label => $form):?>
<p>
    <label><?=$label?></label>
    <?=$form?>
</p>
<?php endforeach;?>